<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 
	xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:lift="http://liftweb.net/"
    xml:lang="eng">
 
 	<head>
    	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>

		<link rel="icon" 
		      type="image/png" 
		      href="/images/favicon.png"/>
		
		<title>ESME: The Enterprise Social Messaging Experiment</title>
	    
		<lift:Style.header />
    
		<script src="/scripts/jquery.js" type="text/javascript"/>
	    <script src="/scripts/json2.js" type="text/javascript"/>

		<script type="text/javascript">
			// <![CDATA[

			$(function () {
			   
			
			// tabs related stuff
			 	var tabContainers = $('div.tabs > div');
				$('ul.tabNavigation a').click(function () {
			        tabContainers.hide().filter(this.hash).hide();
    				$('ul.tabNavigation a').removeClass('selected');
			        $(this).addClass('selected');
					return false;
			    }).filter(':first').click();

				// hide controls not needed in logged out state 
					$('.msg-ctrls').hide();


				// change the user settings form, prob not the best place to this
					$('input[type=submit]').filter('[value=Edit]').attr('value','Save');
					$("div.maincontent > form > table > tr > td:contains('Edit')").text('Profile Settings:').addClass('heading')
					$("div.maincontent > form > table > tr > td:contains('nickname')").text('Nickname:');
					$("div.maincontent > form > table > tr > td:contains('firstname')").text('First Name:');
					$("div.maincontent > form > table > tr > td:contains('lastname')").text('Last Name:');
					$("div.maincontent > form > table > tr > td:contains('imageurl')").text('Image URL:');
					$("div.maincontent > form > table > tr > td:contains('timezone')").text('Time Zone:');
					$("div.maincontent > form > table > tr > td:contains('locale')").text('Locale:');

		
			});

			// ]]>

		</script>


	</head>
  	
	<body>
		<div class="title-bar-back">
			<div class="title-bar">
				<ul id="menu" class="mainmenu">
					  <li><lift:Menu.item name="Home">Messages</lift:Menu.item></li>
					  <li><lift:Menu.item name="list_users">Contacts</lift:Menu.item></li>
					  <li><lift:Menu.item name="EditUser">Settings</lift:Menu.item></li>
					  <li><lift:Menu.item name="Logout"/></li>
				</ul>
			</div>
		</div>
		<div class="send-message-box">
			<lift:bind name="login"/>
			<div class="maincontent">
					<lift:bind name="content" />
			</div>
		</div>	
</body>
</html>
